Integrand size = 39, antiderivative size = 151 \[ \int \sec (c+d x) (b \sec (c+d x))^{2/3} \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right ) \, dx=\frac {3 (8 A+5 C) \operatorname {Hypergeometric2F1}\left (-\frac {1}{3},\frac {1}{2},\frac {2}{3},\cos ^2(c+d x)\right ) (b \sec (c+d x))^{2/3} \sin (c+d x)}{16 d \sqrt {\sin ^2(c+d x)}}+\frac {3 B \operatorname {Hypergeometric2F1}\left (-\frac {5}{6},\frac {1}{2},\frac {1}{6},\cos ^2(c+d x)\right ) (b \sec (c+d x))^{5/3} \sin (c+d x)}{5 b d \sqrt {\sin ^2(c+d x)}}+\frac {3 C (b \sec (c+d x))^{5/3} \tan (c+d x)}{8 b d} \]
[Out]
Time = 0.23 (sec) , antiderivative size = 151, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.128, Rules used = {16, 4132, 3857, 2722, 4131} \[ \int \sec (c+d x) (b \sec (c+d x))^{2/3} \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right ) \, dx=\frac {3 (8 A+5 C) \sin (c+d x) (b \sec (c+d x))^{2/3} \operatorname {Hypergeometric2F1}\left (-\frac {1}{3},\frac {1}{2},\frac {2}{3},\cos ^2(c+d x)\right )}{16 d \sqrt {\sin ^2(c+d x)}}+\frac {3 B \sin (c+d x) (b \sec (c+d x))^{5/3} \operatorname {Hypergeometric2F1}\left (-\frac {5}{6},\frac {1}{2},\frac {1}{6},\cos ^2(c+d x)\right )}{5 b d \sqrt {\sin ^2(c+d x)}}+\frac {3 C \tan (c+d x) (b \sec (c+d x))^{5/3}}{8 b d} \]
[In]
[Out]
Rule 16
Rule 2722
Rule 3857
Rule 4131
Rule 4132
Rubi steps \begin{align*} \text {integral}& = \frac {\int (b \sec (c+d x))^{5/3} \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right ) \, dx}{b} \\ & = \frac {\int (b \sec (c+d x))^{5/3} \left (A+C \sec ^2(c+d x)\right ) \, dx}{b}+\frac {B \int (b \sec (c+d x))^{8/3} \, dx}{b^2} \\ & = \frac {3 C (b \sec (c+d x))^{5/3} \tan (c+d x)}{8 b d}+\frac {(8 A+5 C) \int (b \sec (c+d x))^{5/3} \, dx}{8 b}+\frac {\left (B \left (\frac {\cos (c+d x)}{b}\right )^{2/3} (b \sec (c+d x))^{2/3}\right ) \int \frac {1}{\left (\frac {\cos (c+d x)}{b}\right )^{8/3}} \, dx}{b^2} \\ & = \frac {3 B \operatorname {Hypergeometric2F1}\left (-\frac {5}{6},\frac {1}{2},\frac {1}{6},\cos ^2(c+d x)\right ) (b \sec (c+d x))^{5/3} \sin (c+d x)}{5 b d \sqrt {\sin ^2(c+d x)}}+\frac {3 C (b \sec (c+d x))^{5/3} \tan (c+d x)}{8 b d}+\frac {\left ((8 A+5 C) \left (\frac {\cos (c+d x)}{b}\right )^{2/3} (b \sec (c+d x))^{2/3}\right ) \int \frac {1}{\left (\frac {\cos (c+d x)}{b}\right )^{5/3}} \, dx}{8 b} \\ & = \frac {3 (8 A+5 C) \operatorname {Hypergeometric2F1}\left (-\frac {1}{3},\frac {1}{2},\frac {2}{3},\cos ^2(c+d x)\right ) (b \sec (c+d x))^{2/3} \sin (c+d x)}{16 d \sqrt {\sin ^2(c+d x)}}+\frac {3 B \operatorname {Hypergeometric2F1}\left (-\frac {5}{6},\frac {1}{2},\frac {1}{6},\cos ^2(c+d x)\right ) (b \sec (c+d x))^{5/3} \sin (c+d x)}{5 b d \sqrt {\sin ^2(c+d x)}}+\frac {3 C (b \sec (c+d x))^{5/3} \tan (c+d x)}{8 b d} \\ \end{align*}
Time = 0.75 (sec) , antiderivative size = 122, normalized size of antiderivative = 0.81 \[ \int \sec (c+d x) (b \sec (c+d x))^{2/3} \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right ) \, dx=\frac {3 \cot (c+d x) (b \sec (c+d x))^{5/3} \left ((8 A+5 C) \operatorname {Hypergeometric2F1}\left (\frac {1}{2},\frac {5}{6},\frac {11}{6},\sec ^2(c+d x)\right ) \sqrt {-\tan ^2(c+d x)}+5 \left (C \tan ^2(c+d x)+B \operatorname {Hypergeometric2F1}\left (\frac {1}{2},\frac {4}{3},\frac {7}{3},\sec ^2(c+d x)\right ) \sec (c+d x) \sqrt {-\tan ^2(c+d x)}\right )\right )}{40 b d} \]
[In]
[Out]
\[\int \sec \left (d x +c \right ) \left (b \sec \left (d x +c \right )\right )^{\frac {2}{3}} \left (A +B \sec \left (d x +c \right )+C \sec \left (d x +c \right )^{2}\right )d x\]
[In]
[Out]
\[ \int \sec (c+d x) (b \sec (c+d x))^{2/3} \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right ) \, dx=\int { {\left (C \sec \left (d x + c\right )^{2} + B \sec \left (d x + c\right ) + A\right )} \left (b \sec \left (d x + c\right )\right )^{\frac {2}{3}} \sec \left (d x + c\right ) \,d x } \]
[In]
[Out]
\[ \int \sec (c+d x) (b \sec (c+d x))^{2/3} \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right ) \, dx=\int \left (b \sec {\left (c + d x \right )}\right )^{\frac {2}{3}} \left (A + B \sec {\left (c + d x \right )} + C \sec ^{2}{\left (c + d x \right )}\right ) \sec {\left (c + d x \right )}\, dx \]
[In]
[Out]
\[ \int \sec (c+d x) (b \sec (c+d x))^{2/3} \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right ) \, dx=\int { {\left (C \sec \left (d x + c\right )^{2} + B \sec \left (d x + c\right ) + A\right )} \left (b \sec \left (d x + c\right )\right )^{\frac {2}{3}} \sec \left (d x + c\right ) \,d x } \]
[In]
[Out]
\[ \int \sec (c+d x) (b \sec (c+d x))^{2/3} \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right ) \, dx=\int { {\left (C \sec \left (d x + c\right )^{2} + B \sec \left (d x + c\right ) + A\right )} \left (b \sec \left (d x + c\right )\right )^{\frac {2}{3}} \sec \left (d x + c\right ) \,d x } \]
[In]
[Out]
Timed out. \[ \int \sec (c+d x) (b \sec (c+d x))^{2/3} \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right ) \, dx=\int \frac {{\left (\frac {b}{\cos \left (c+d\,x\right )}\right )}^{2/3}\,\left (A+\frac {B}{\cos \left (c+d\,x\right )}+\frac {C}{{\cos \left (c+d\,x\right )}^2}\right )}{\cos \left (c+d\,x\right )} \,d x \]
[In]
[Out]